import request from '@/utils/request'

// 查询生产基地污水监测记录列表
export function listSewage(query) {
  return request({
    url: '/Laboratory/sewage/list',
    method: 'get',
    params: query
  })
}

// 查询生产基地污水监测记录详细
export function getSewage(id) {
  return request({
    url: '/Laboratory/sewage/' + id,
    method: 'get'
  })
}

// 新增生产基地污水监测记录
export function addSewage(data) {
  return request({
    url: '/Laboratory/sewage',
    method: 'post',
    data: data
  })
}

// 修改生产基地污水监测记录
export function updateSewage(data) {
  return request({
    url: '/Laboratory/sewage',
    method: 'put',
    data: data
  })
}

// 删除生产基地污水监测记录
export function delSewage(id) {
  return request({
    url: '/Laboratory/sewage/' + id,
    method: 'delete'
  })
}
